Hi, |
Re: How to import attributes from other module?
|
Re: How to import attributes from other module? void dealWith(Object oParent) { Object oChild if(null(obj)) { obj = create(extractModule) put(mapping_skip, identifier obj "", identifier oChild "") } else { obj."Object Heading" = oChild."Object Heading" "" obj."Object Text" = oChild."Object Text" "" } dealWith(oChild) } } outlining on level 1 Object o1 for o1 in origModule do { Object oBase = o1 // the base object dealWith(oBase) } ... This will basically isolate all objects under level 1 (could be any level you want) and recursively create the objects line by line for all attributes you deem worthy. This is not tested as is since I cut out a lot of my stuff so try to work it out yourself. Sorry for crappy formatting. |